
import axios from 'axios'


// const baseUrl = "http://127.0.0.1:8686/diary"
// const baseUrl = "http://175.24.126.178:8686/diary"
const baseUrl = "https://www.freeary.cn/diary"

const http = axios.create({
    timeout: 1000 * 30,
    headers: {
        'Content-Type': 'application/json; charset=utf-8'
    },
    baseURL: baseUrl
})

export default http
